import 'package:flutter/material.dart';
import 'package:oi_ai_tool/route/oi_route.dart';
import 'package:oi_ai_tool/widgets/oi_back.dart';

class OiAppbar extends AppBar {
  bool? isBackHome;
  String? routeName;

  OiAppbar(
      {super.key,
      this.isBackHome = true,
      this.routeName = Routes.Initials,
      super.title})
      : super(
          leading: OiBack(isBackHome: isBackHome, routeName: routeName),
        );
}
